package com.ruoyi.blog.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.blog.domain.BlogTags;
import com.ruoyi.blog.mapper.BlogTagsMapper;
import com.ruoyi.blog.service.BlogTagsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 35038
* @description 针对表【blog_tags】的数据库操作Service实现
* @createDate 2024-10-10 21:03:10
*/
@Service
public class BlogTagsServiceImpl extends ServiceImpl<BlogTagsMapper, BlogTags>
    implements BlogTagsService {

    @Resource
    private BlogTagsMapper blogTagsMapper;

    @Override
    public List<BlogTags> getList(BlogTags blogTags) {
        return blogTagsMapper.getList(blogTags);
    }

    @Override
    public List<BlogTags> getAll() {
        return blogTagsMapper.selectList(new LambdaQueryWrapper<>());
    }
}




